package com.ynkbny.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ynkbny.domain.Region;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 区域表-数据库访问层
 *
 * @author : juzipi123
 * @date : 2023-7-27
 */
@Mapper
public interface RegionMapper extends BaseMapper<Region> {

    void del();

    List<Region> selectByProjId(Long projId);

    Region selectByprojIdAndRegionId(@Param("projId") String projId
                                    , @Param("regionId") String regionId);

}